import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)

// 注册一个全局自定义事件
/*
app.directive('focus', {
  mounted(el) {
    console.log(el);
    el.focus()
    console.log('聚焦成功...');
  }
})
*/

app.mount('#app')